package cn.dengqiang.order.service.impl;

import cn.dengqiang.basic.service.impl.BaseServiceImpl;
import cn.dengqiang.basic.util.PageList;
import cn.dengqiang.order.domain.OrderAddress;
import cn.dengqiang.order.mapper.OrderAddressMapper;
import cn.dengqiang.order.service.IOrderAddressService;
import cn.dengqiang.user.domain.UserAddress;
import cn.dengqiang.user.service.IUserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderAddressServiceImpl extends BaseServiceImpl<OrderAddress> implements IOrderAddressService {

    @Autowired
    private OrderAddressMapper orderAddressMapper;

    @Override
    public PageList<OrderAddress> getByunionPaySn(Long unionPaySn) {
        return orderAddressMapper.loadByunionPaySn(unionPaySn);
    }
}
